<div class="modal-header">
    <h3 class="modal-title">{{title}}</h3>
</div>
<div class="modal-body">
    <form class="form-horizontal">
        <div class="form-group">
          <label  class="col-sm-3 control-label">Tên nhóm</label>
          <div class="col-sm-9">
              <input type="text" class="form-control" placeholder="Tên nhóm" ng-model="category.name">
          </div>
        </div>
        <div class="form-group">
          <label  class="col-sm-3 control-label">Nhóm cha</label>
          <div class="col-sm-9">
              <select class="form-control" ng-model="category.parent" ng-options="item.id as item.name  for item in categories" ></select>
          </div>
        </div>
        
        
    </form>
</div>
<div class="modal-footer">
    <button class="btn btn-primary" ng-click="save()"><i class="fa fa-save"></i> Lưu</button>
    <button class="btn btn-warning" ng-click="cancel()"><i class="fa fa-remove"></i> Hủy</button>
</div>